package com.example.quiz.service;

import com.example.quiz.model.WrongQuestion;
import java.util.List;

public interface WrongQuestionService extends BaseService<WrongQuestion> {

    // 获取用户的分页错题列表
    List<WrongQuestion> getPagedQuestions(int page, int size, Long userId);

    // 获取用户错题总数
    int getTotalCount(Long userId);

    // 清空用户的错题本
    int clearByUserId(Long userId);
}